package com.dyzx.hbb.modules.sys.service;

import com.dyzx.hbb.modules.sys.bean.SysWorkPaymentBean;
import com.dyzx.hbb.modules.sys.entity.SysWorkPayment;
import com.baomidou.mybatisplus.extension.service.IService;
import com.dyzx.hbb.modules.sys.vo.SysWorkPaymentBeanUVO;
import com.dyzx.hbb.modules.sys.vo.SysWorkPaymentBeanVO;

/**
* @author Administrator
* @description 针对表【sys_work_payment(支付记录表)】的数据库操作Service
* @createDate 2025-08-05 17:39:49
*/
public interface SysWorkPaymentService extends IService<SysWorkPayment> {


    SysWorkPaymentBean getWorkPayment(Long orderId,Integer type);

    boolean savePayment( SysWorkPaymentBeanVO vo);

    boolean endPayment( SysWorkPaymentBeanUVO vo);

    boolean updateWorkItemDiscount(Long workId, Long orderId, Long itemId, Long discountId, Long amt);
}
